start: 00000000 4E56 FFC0 link A6, -0x0040 00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 00000008 266E 000E movea.l A3, [A6 + 0xE] 0000000C 7000 moveq.l D0, 0x00 0000000E 2D40 0014 move.l [A6 + 0x14], D0 00000012 302E 000C move.w D0, [A6 + 0xC] 00000016 670A beq +0xC /* 00000022 */ 00000018 5340 subq.w D0, 1 0000001A 6700 0192 beq +0x194 /* 000001AE */ 0000001E 6000 01A8 bra +0x1AA /* 000001C8 */ label00000022: 00000022 2053 movea.l A0, [A3] 00000024 4240 clr.w D0 00000026 1028 0010 move.b D0, [A0 + 0x10] 0000002A 0C40 00FF cmpi.w D0, 0xFF 0000002E 6704 beq +0x6 /* 00000034 */ 00000030 6000 0196 bra +0x198 /* 000001C8 */ label00000034: 00000034 486E FFEE pea.l [A6 - 0x12] 00000038 A898 syscall GetPenState 0000003A 42A7 clr.l -[A7] 0000003C A8D8 syscall NewRgn 0000003E 2C1F move.l D6, [A7]+ 00000040 42A7 clr.l -[A7] 00000042 A8D8 syscall NewRgn 00000044 2E1F move.l D7, [A7]+ 00000046 2F06 move.l -[A7], D6 00000048 A87A syscall GetClip 0000004A 2053 movea.l A0, [A3] 0000004C 43EE FFDE lea.l A1, [A6 - 0x22] 00000050 5088 addq.l A0, 8 00000052 22D8 move.l [A1]+, [A0]+ 00000054 22D8 move.l [A1]+, [A0]+ 00000056 2F07 move.l -[A7], D7 00000058 2F2E FFDE move.l -[A7], [A6 - 0x22] 0000005C 2F2E FFE2 move.l -[A7], [A6 - 0x1E] 00000060 A8DE syscall SetRecRgn 00000062 2F07 move.l -[A7], D7 00000064 2F06 move.l -[A7], D6 00000066 2F07 move.l -[A7], D7 00000068 A8E4 syscall SectRgn 0000006A 2F07 move.l -[A7], D7 0000006C A879 syscall SetClip 0000006E 2F07 move.l -[A7], D7 00000070 A8D9 syscall DisposRgn/DisposeRgn 00000072 302E FFE0 move.w D0, [A6 - 0x20] 00000076 D07C 000F add.w D0, 0xF 0000007A 3D40 FFE4 move.w [A6 - 0x1C], D0 0000007E 302E FFDE move.w D0, [A6 - 0x22] 00000082 D07C 000F add.w D0, 0xF 00000086 3D40 FFE2 move.w [A6 - 0x1E], D0 0000008A 2053 movea.l A0, [A3] 0000008C 2A28 001C move.l D5, [A0 + 0x1C] 00000090 4A68 0012 tst.w [A0 + 0x12] 00000094 6622 bne +0x24 /* 000000B8 */ 00000096 42A7 clr.l -[A7] 00000098 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */ 0000009E 2045 movea.l A0, D5 000000A0 2050 movea.l A0, [A0] 000000A2 3F10 move.w -[A7], [A0] 000000A4 A9A0 syscall GetResource 000000A6 285F movea.l A4, [A7]+ 000000A8 200C move.l D0, A4 000000AA 6766 beq +0x68 /* 00000112 */ 000000AC 2F0C move.l -[A7], A4 000000AE 2054 movea.l A0, [A4] 000000B0 4868 0002 pea.l [A0 + 0x2] 000000B4 A8F6 syscall DrawPicture 000000B6 605A bra +0x5C /* 00000112 */ label000000B8: 000000B8 2053 movea.l A0, [A3] 000000BA 7001 moveq.l D0, 0x01 000000BC B068 0012 cmp.w D0, [A0 + 0x12] 000000C0 6624 bne +0x26 /* 000000E6 */ 000000C2 42A7 clr.l -[A7] 000000C4 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */ 000000CA 2045 movea.l A0, D5 000000CC 2050 movea.l A0, [A0] 000000CE 3F28 0002 move.w -[A7], [A0 + 0x2] 000000D2 A9A0 syscall GetResource 000000D4 285F movea.l A4, [A7]+ 000000D6 200C move.l D0, A4 000000D8 6738 beq +0x3A /* 00000112 */ 000000DA 2F0C move.l -[A7], A4 000000DC 2054 movea.l A0, [A4] 000000DE 4868 0002 pea.l [A0 + 0x2] 000000E2 A8F6 syscall DrawPicture 000000E4 602C bra +0x2E /* 00000112 */ label000000E6: 000000E6 2053 movea.l A0, [A3] 000000E8 7002 moveq.l D0, 0x02 000000EA B068 0012 cmp.w D0, [A0 + 0x12] 000000EE 6622 bne +0x24 /* 00000112 */ 000000F0 42A7 clr.l -[A7] 000000F2 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */ 000000F8 2045 movea.l A0, D5 000000FA 2050 movea.l A0, [A0] 000000FC 3F28 0004 move.w -[A7], [A0 + 0x4] 00000100 A9A0 syscall GetResource 00000102 285F movea.l A4, [A7]+ 00000104 200C move.l D0, A4 00000106 670A beq +0xC /* 00000112 */ 00000108 2F0C move.l -[A7], A4 0000010A 2054 movea.l A0, [A4] 0000010C 4868 0002 pea.l [A0 + 0x2] 00000110 A8F6 syscall DrawPicture label00000112: 00000112 2053 movea.l A0, [A3] 00000114 4A28 0028 tst.b [A0 + 0x28] 00000118 672E beq +0x30 /* 00000148 */ 0000011A 486E FFD2 pea.l [A6 - 0x2E] 0000011E A88B syscall GetFontInfo 00000120 302E FFE4 move.w D0, [A6 - 0x1C] 00000124 5440 addq.w D0, 2 00000126 3F00 move.w -[A7], D0 00000128 302E FFD2 move.w D0, [A6 - 0x2E] 0000012C D06E FFDE add.w D0, [A6 - 0x22] 00000130 3F00 move.w -[A7], D0 00000132 A893 syscall MoveTo 00000134 2053 movea.l A0, [A3] 00000136 41E8 0028 lea.l A0, [A0 + 0x28] 0000013A 1F10 move.b -[A7], [A0] 0000013C 3F3C 00FF move.w -[A7], 0xFF 00000140 4EBA 00A0 jsr [PC + 0xA0 /* 000001E2 */] 00000144 2F08 move.l -[A7], A0 00000146 A884 syscall DrawString label00000148: 00000148 2053 movea.l A0, [A3] 0000014A 4240 clr.w D0 0000014C 1028 0011 move.b D0, [A0 + 0x11] 00000150 0C40 00FF cmpi.w D0, 0xFF 00000154 6616 bne +0x18 /* 0000016C */ 00000156 3F3C 000B move.w -[A7], 0xB 0000015A A89C syscall PenMode 0000015C 486D FFE4 pea.l [A5 - 0x1C] 00000160 A89D syscall PenPat 00000162 2053 movea.l A0, [A3] 00000164 4868 0008 pea.l [A0 + 0x8] 00000168 A8A2 syscall PaintRect 0000016A 6032 bra +0x34 /* 0000019E */ label0000016C: 0000016C 2053 movea.l A0, [A3] 0000016E 4240 clr.w D0 00000170 1028 0011 move.b D0, [A0 + 0x11] 00000174 4A40 tst.w D0 00000176 6F26 ble +0x28 /* 0000019E */ 00000178 2054 movea.l A0, [A4] 0000017A 43EE FFC0 lea.l A1, [A6 - 0x40] 0000017E 5488 addq.l A0, 2 00000180 22D8 move.l [A1]+, [A0]+ 00000182 22D8 move.l [A1]+, [A0]+ 00000184 486E FFC0 pea.l [A6 - 0x40] 00000188 2F3C 0001 0001 move.l -[A7], 0x10001 0000018E A8A9 syscall InsetRect 00000190 2F3C 0001 0001 move.l -[A7], 0x10001 00000196 A89B syscall PenSize 00000198 486E FFC0 pea.l [A6 - 0x40] 0000019C A8A1 syscall FrameRect label0000019E: 0000019E 486E FFEE pea.l [A6 - 0x12] 000001A2 A899 syscall SetPenState 000001A4 2F06 move.l -[A7], D6 000001A6 A879 syscall SetClip 000001A8 2F06 move.l -[A7], D6 000001AA A8D9 syscall DisposRgn/DisposeRgn 000001AC 601A bra +0x1C /* 000001C8 */ label000001AE: 000001AE 4267 clr.w -[A7] 000001B0 2F2E 0008 move.l -[A7], [A6 + 0x8] 000001B4 2053 movea.l A0, [A3] 000001B6 4868 0008 pea.l [A0 + 0x8] 000001BA A8AD syscall PtInRect 000001BC 181F move.b D4, [A7]+ 000001BE 1004 move.b D0, D4 000001C0 6706 beq +0x8 /* 000001C8 */ 000001C2 7001 moveq.l D0, 0x01 000001C4 2D40 0014 move.l [A6 + 0x14], D0 label000001C8: 000001C8 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+ 000001CC 4E5E unlink A6 000001CE 205F movea.l A0, [A7]+ 000001D0 DEFC 000C add.w A7, 0xC 000001D4 4ED0 jmp [A0] 000001D6 8854 or.w D4, [A4] 000001D8 5249 addq.w A1, 1 000001DA 5354 subq.w [A4], 1 000001DC 4154 chk.w D0, [A4] 000001DE 4500 .invalid 2, D0 // invalid opcode 4 with b == 4 000001E0 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 000001E2-000001E8 fn000001E2: 000001E2 4E56 0000 link A6, 0 000001E6 2F00 move.l -[A7], D0 // end alternate branch 000001E2-000001E8 fn000001E2: // (misaligned) 000001E4 0000 2F00 ori.b D0, 0x0 000001E8 7000 moveq.l D0, 0x00 000001EA 102E 000A move.b D0, [A6 + 0xA] 000001EE B06E 0008 cmp.w D0, [A6 + 0x8] 000001F2 6F0A ble +0xC /* 000001FE */ 000001F4 487A 0018 pea.l [PC + 0x18 /* 0000020E, value 0x18537472, pstring "String Range Check Abort" */] 000001F8 303C FE15 move.w D0, 0xFE15 000001FC A9C9 syscall SysError label000001FE: 000001FE 201F move.l D0, [A7]+ 00000200 4E5E unlink A6 00000202 2E9F move.l [A7], [A7]+ 00000204 4E75 rts 00000206 5354 subq.w [A4], 1 00000208 5252 addq.w [A2], 1 0000020A 4743 chk.w D3, D3 0000020C 484B pea.l A3 0000020E 1853 movea.b A4, [A3] 00000210 7472 moveq.l D2, 0x72 00000212 696E bvs +0x70 /* 00000282 */ 00000214 6720 beq +0x22 /* 00000236 */ 00000216 5261 addq.w -[A1], 1 00000218 6E67 bgt +0x69 /* 00000281 */ 0000021A 6520 bcs +0x22 /* 0000023C */ 0000021C 4368 6563 chk.w D1, [A0 + 0x6563] 00000220 6B20 bmi +0x22 /* 00000242 */ 00000222 4162 chk.w D0, -[A2] 00000224 6F72 ble +0x74 /* 00000298 */ 00000226 7400 moveq.l D2, 0x00